package com.financing.platform.dao.impl;

import java.sql.SQLException;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.financing.platform.dao.IHs300Dao;
import com.financing.platform.util.SqlName;

@Repository("hs300DaoImpl")
public class Hs300DaoImpl extends BaseDaoImpl implements IHs300Dao{

	@Override
	public int addHs300(Map<String, String> map) {
		try {
			this.sqlMapClient.insert(SqlName.insertHs300,map);
			return 1; 
		} catch (SQLException e) {
			this.log.error("Add hs300 for error:",e);
			return 0;
		}
	}

}
